package d_decrator.b_design_pattern;

/**
 * Created by wug on 2016/6/22 0022.
 */
public class Mainboard extends Component {
    private String desc="华硕主板";
    private int price=800;

    @Override
    public String showDesc() {
        return desc + "\t" + price + "\n";
    }

    @Override
    public int showPrice() {
        return price;
    }
}
